50f951ad31188e63dffcccf2dd17ba52d5d9de4a,enterprise/main/java/org/neo4j/index/impl/lucene/LuceneBatchInserterIndex.java,LuceneBatchInserterIndex,LuceneBatchInserterIndex,#LuceneBatchInserterIndexProvider#BatchInserter#IndexIdentifier#Map#,50
Before Change
BatchInserter inserter, IndexIdentifier identifier, Map<String, String> config )
{
String dbStoreDir = ((BatchInserterImpl) inserter).getStore();
this.storeDir = LuceneDataSource.getStoreDir( dbStoreDir );
this.identifier = identifier;
this.type = IndexType.getIndexType( identifier, config );
}
After Change
BatchInserter inserter, IndexIdentifier identifier, Map<String, String> config )
{
String dbStoreDir = ((BatchInserterImpl) inserter).getStore();
Pair<String, Boolean> storeDir = LuceneDataSource.getStoreDir( dbStoreDir );
this.createdNow = storeDir.other();
this.identifier = identifier;
this.type = IndexType.getIndexType( identifier, config );
this.writer = instantiateWriter( storeDir.first() );
}
public void add( long entityId, Map<String, Object> properties )